<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Supplier extends Model
{
	protected $fillable = ['taobao_url', 'cat_id' ,'max_commission_rate', 'max_commission_url', 'qq', 'telephone', 'wechat', 'reason', 'created_at', 'status', 'updated_at'];

	protected $primaryKey = 'supplier_id';

    public static function getStatus()
    {
        return [
            '待审批',
            '审批通过',
            '审批驳回'
        ];
    }

}
